<style>
    h2 {
        line-height: 30px;
        margin: 0 !important;
        font-weight: 400;
        font-size: 16px;
    }
    
    .layui-table {
        margin-bottom: 40px;
    }
</style>
<div class="widget-head" style="margin-top:0;">
    <div class="widget-title">系统环境</div>
</div>
<h2>服务器信息</h2>
<table class="layui-table" lay-skin="nob">
    <colgroup>
        <col width="350">
        <col>
    </colgroup>
    <thead>
        <tr>
            <th>参数</th>
            <th>值</th>
        </tr>
    </thead>
    <tbody>
        <volist name="info['server']" id="vo">
            <tr>
                <td>{$vo.param}</td>
                <td>{$vo.value}</td>
            </tr>
        </volist>
    </tbody>
</table>

<h2>PHP环境要求</h2>
<table class="layui-table" lay-skin="nob">
    <thead>
        <tr>
            <th width="25%">选项</th>
            <th width="25%">要求</th>
            <th width="25%">状态</th>
            <th width="25%">说明</th>
        </tr>
    </thead>
    <tbody>
        <volist name="info['env']" id="vo">
            <tr>
                <td>{$vo.option}</td>
                <td>{$vo.require}</td>
                <td>
                    <if condition="$vo['status']">
                        <i class="layui-icon layui-icon-ok" style="color:green"></i>
                        <else/>
                        <i class="layui-icon layui-icon-close" style="color:red"></i>
                    </if>
                </td>
                <td>{$vo.remark}</td>
            </tr>
        </volist>
    </tbody>
</table>

<h2>目录权限</h2>
<table class="layui-table" lay-skin="nob">
    <thead>
        <tr>
            <th width="25%">选项</th>
            <th width="25%">要求</th>
            <th width="25%">状态</th>
            <th width="25%">说明</th>
        </tr>
    </thead>
    <tbody>
        <volist name="info['auth']" id="vo">
            <tr>
                <td>{$vo.dir}</td>
                <td>{$vo.require}</td>
                <td>
                    <if condition="$vo['status']">
                        <i class="layui-icon layui-icon-ok" style="color:green"></i>
                        <else/>
                        <i class="layui-icon layui-icon-close" style="color:red"></i>
                    </if>
                </td>
                <td>{$vo.remark}</td>
            </tr>
        </volist>
    </tbody>
</table>